/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Componenten;

/**
 *
 * @author Bram Slob en Roderick van Seijen
 */
public class Coordinaat {
    private int x;
    private int y;
    
    /**
     * Maak nieuw coordinaat aan
     * @param x x-as positie
     * @param y y-as positie
     */
    public Coordinaat(int x, int y)
    {
        this.x = x;
        this.y = y;
    }
    
    /**
     * Geef de x-as positie
     * @return x-as positie
     */
    public int getX() {
        return x;
    }
    
    /**
     * Zet de x-as positie
     * @param x de x-as positie
     */
    public void setX(int x) {
        this.x = x;
    }
    
    /**
     * Geef de y-as positie
     * @return de y-as positie
     */
    public int getY() {
        return y;
    }
    
    /**
     * Zet de y-as positie
     * @param y de y-as positie
     */
    public void setY(int y) {
        this.y = y;
    }
    
}


